<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%
	
	String user = "";
	
	if (session.getAttribute("user") == null) {
		response.sendRedirect("login.jsp");
		return;
	} 
	
	
	user = (String) session.getAttribute("user");
	

%>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Clinica Facil</title>

<!-- Loading Bootstrap -->
<link href="resources/css/bootstrap.css" rel="stylesheet">

<!-- Loading Flat UI -->
<link href="resources/css/flat-ui.css" rel="stylesheet">

<link rel="shortcut icon" href="resources/images/favicon.ico">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
      <script src="js/html5shiv.js"></script>
    <![endif]-->
</head>
<body>

	<div class="container">

		<div class="navbar">
			<div class="navbar-inner">
				<div class="container">
					<button type="button" class="btn btn-navbar" data-toggle="collapse"
						data-target="#nav-collapse-01"></button>
					<a href="#" class="navbar-brand fui-flat"></a>

					<div class="nav-collapse collapse in" id="nav-collapse-01">
						<ul class="nav">
							<!-- Menu items go here -->
							<li>
								<ul>
									<!-- Sub Menu items go here -->
								</ul>
							</li>
						</ul>

						<div class="iconbar">
							<ul>
								<li class="active"><a href="#" class="fui-user"></a> <%= user %></li>
							</ul>
						</div>
					</div>
					<a href="#" class="navbar-brand fui-flat"></a>


				</div>
			</div>
			<!-- </div> -->

		</div>
</body>
</html>